const express = require('express')
const app = express()

const myBodyParser = require('./08.custom-body-parser')
app.use(myBodyParser)

app.post('/test', (req, res) => {
  res.send(req.body)
})


app.listen(8089, () => {
  console.log('服务器启动成功');
})